package com.diaohw.module.metadata.obj.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.diaohw.platform.framework.db.obj.BaseModel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;
/**
 * <p>
 * 数据字典
 * </p>
 *
 * @author D-Hw
 * @since 2024-09-20
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("DICTIONARY")
@Schema(name = "DictionaryDO", description = "数据字典")
public class DictionaryDO extends BaseModel<DictionaryDO> {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 字典名称
     */
    @Schema(description = "字典名称")
    @TableField("DICTIONARY_NAME")
    private String dictionaryName;

    /**
     * 字典编码
     */
    @Schema(description = "字典编码")
    @TableField("DICTIONARY_CODE")
    private String dictionaryCode;

    /**
     * 字典描述
     */
    @Schema(description = "字典描述")
    @TableField("DESCRIPTION")
    private String description;

    /**
     * 是否显示;0：否；1：是
     */
    @Schema(description = "是否显示;0：否；1：是")
    @TableField("DISPLAY")
    private Integer display;

    /**
     * 备注
     */
    @Schema(description = "备注")
    @TableField("REMARK")
    private String remark;

}
